import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
      countList: 1
  },
  mutations: {
      increment (state,arg) {
        console.log("调用了vuex ==> increment",arg)
          state.countList= arg
      }
  },
  actions: {

  }
})
